import time
from random import randint
import SIMCommModule

data = {}

for i in range(1, 60):
	str = ''
	for j in range(i):
		str+='c'
	data[str] = i
	
print data
	
res = SIMCommModule.send(data)

print res

# t1 = time.time()
# for i in range(100):
	# rand = randint(0,1)
	# if rand == 0:
		# res = SIMCommModule.send(data)
	# else:
		# res = SIMCommModule.get()
# t2 = time.time()
# print 100 / (t2-t1), ' calls/second'

print SIMCommModule.get()